import request from "../plugins/axios";

export const getRoles = (params) => {
  return request({
    url: "/api/v1.0/roleManager/list/getRoles",
    method: "get",
    params,
  });
};

export const post = (data) => {
  return request({
    url: "",
    method: "post",
    data,
  });
};
